package com.javajun.repository;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.javajun.custom.BaseRepository;
import com.javajun.entity.StuNum;

@Repository
public interface StuNumRepository extends BaseRepository<StuNum, Integer>{

    StuNum findByStuNum(String stuNum);

    List<StuNum> findAllByOrderByIdDesc();

}
